$def with (start_msg_idx)
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Websocket</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <link rel="stylesheet" type="text/css" href="/static/css/style.css">
</head>
<body>
	<div class="hidden">
		<input id="text" type="text"/><button type="button" id="send">发送</button>
		<ul id="chat-list"></ul>
	</div>
	<div class="board">
		<img src="/static/img/car.jpg">
		<div class="mask">
			<div class="light" style="top:190px; left: -185px"></div>
			<div class="light" style="top:190px; left: 165px"></div>
		</div>
	</div>
	<div class="board">
		<img src="/static/img/dashboard.jpg">
		<div class="mask">
			<div class="textbox"></div>
			<div class="register" id="register">
				<div class="register-indicator"></div>
			</div>
		</div>
	</div>
	<div class="hidden">
		<a id="register" href="javascript:;">录入指纹</a>
	</div>
</body>
<script type="text/javascript" src="/static/js/jquery.min.js"></script>
<script type="text/javascript">window.msg_idx = $start_msg_idx;</script>
<script type="text/javascript" src="/static/js/index.js"></script>
</html>
